<?php

class Validate_Require extends Validate_Abstract {

  public function isValid($value) {
    if ($value === NULL) {
      return false;
    }
    return true;
  }

  public function getMessage($value) {
    return "this field is require!";
  }

}